package ilearning.demo;

import com.learning.dynamic.executor.annotation.EnableNacosDynamicExecutor;
import ilearning.demo.utils.SpringBeanUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Wang Xu
 * @date 2023/11/7
 */
@SpringBootApplication
@ComponentScan("ilearning.demo.*")
//@EnableNacosDynamicExecutor
public class AppStart {
    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(AppStart.class);
        ConfigurableApplicationContext context = springApplication.run(args);
//        SpringBeanUtil.setContext(context);
    }
}